package com.desire.bean.sys;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * @author LittleDesire
 * @description
 * @date 2022-05-14 周六 14:42
 * @since 17
 */
@Data
public class UserBatchBean {
    @NotBlank(message = "操作命令不能为空")
    String command;
    @NotNull(message = "id列不能为空")
    @Size(min = 1, message = "至少要传入一条数据进行操作")
    String[] ids;
}
